/* 将浏览器中的默认内外边距设为0
同时将box-sizing设为防止内外边距边框撑大元素盒子
*/
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    
}

/* 将html和body的高度与宽度保持一致 
并添加背景图片填充整个网页
*/
html,body{
    height: 100%;
    background-image: url("../image/background.jpg");
    background-position: center center;
    background-repeat: no-repeat;
   background-size: cover;

   background-color: rgb(28, 35, 33);
}

/* 调整导航栏 */
.nav{
    height: 50px;
    background-color: rgba(50, 50, 50, 0.4);
    color: rgb(255, 255, 255);
    display: flex;/*nav导航栏中弹性布局*/
   
    align-items: center;

}
/* 调整占位标签的宽度 */
.nav .spacer{
    width: 70%;
}
/* 导航栏中的image标签 */
.nav img{
    height: 40px;
    width: 40px;
    /* margin: 0px 5px; */
    margin-left: 40px;
    margin-right: 5px;
    border-radius: 5px;
}
.nav .title{
    margin-left: 5px;
    margin-right: 0px;
}

/* 导航栏的链接标签 */
.nav>a{
    /* margin: 5px; */
    padding: 5px;
    text-decoration: none;
    color: bisque;
}
/* 当鼠标在导航栏中a标签时触发效果 */
.nav a:hover{
    background-color: rgba(203, 35, 172, 0.5);
    font-size: 20px;
}


.container{
    width: 1000px;
    height: calc(100% - 50px);
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    
}

.container>.container-left{
    width: 200px;
    height: 100%;
    /* background-color: rgba(255, 255, 255, 0.5); */
}

.container>.container-right{
    width: 795px;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.5);
}

.card{
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 30px;
    
}

.card img{
    width: 140px;
    height: 140px;
    border-radius: 50%;
}
.card>h4{
    text-align: center;
}
.gitee{
    display: inline-block;
   width: 100%;
    text-align: center;
}

.card .counter {
    display: flex;
    padding: 5px;
    justify-content: space-around;
}


